/*
 *
 *  File: 'test_graph.cpp'
 *
 *  Author: Samip Shah <samipshah@alumni.cmu.edu>
 *  Date: Sep 09, 2011
 *
 */

#include <graph.h>

int main(int argc, char** argv) 
{
	Graph<char> boggle_graph;
	boggle_graph.addNode('a');
	boggle_graph.addNode('b');	
	boggle_graph.addNode('c');	
	boggle_graph.addNode('d');	
	boggle_graph.addNode('e');	
	boggle_graph.addNode('f');	

	boggle_graph.createConnection('a', 'b', Graph<char>::BOTH_WAY);
	boggle_graph.createConnection('a', 'c', Graph<char>::BOTH_WAY);
	boggle_graph.createConnection('c', 'b', Graph<char>::BOTH_WAY);
	boggle_graph.createConnection('b', 'd', Graph<char>::ONE_WAY);
	boggle_graph.createConnection('c', 'd', Graph<char>::ONE_WAY);
	boggle_graph.createConnection('d', 'e', Graph<char>::ONE_WAY);
	boggle_graph.createConnection('e', 'd', Graph<char>::ONE_WAY);
	boggle_graph.createConnection('f', 'd', Graph<char>::ONE_WAY);

	boggle_graph.printAllConnections();
	return 0;
}
